package com.winterwar.base;

import java.util.Set;

public class Convention extends BaseObject{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1301286097088983144L;

	private Integer conID;
	private String conName;
	private Boolean eventSubmissionOpen;
	private Boolean eventRegistrationOpen;
	private Double singleDayCost;
	private Double weekendPassCost;
	private Double weekendASLCost;
	private Double defaultEventCost;
	private Boolean current;
	
	private Integer numSlots;
	private Integer numEvents;
	private Integer numRegistrations;
	
	@SuppressWarnings("rawtypes")
	private Set slots;
	@SuppressWarnings("rawtypes")
	private Set events;
	@SuppressWarnings("rawtypes")
	private Set registrations;

	public Integer getConID() {
		return conID;
	}
	public void setConID(Integer conID) {
		this.conID = conID;
	}
	public String getConName() {
		return conName;
	}
	public void setConName(String conName) {
		this.conName = conName;
	}
	public Boolean getEventSubmissionOpen() {
		return eventSubmissionOpen;
	}
	public void setEventSubmissionOpen(Boolean eventSubmissionOpen) {
		this.eventSubmissionOpen = eventSubmissionOpen;
	}
	public Boolean getEventRegistrationOpen() {
		return eventRegistrationOpen;
	}
	public void setEventRegistrationOpen(Boolean eventRegistrationOpen) {
		this.eventRegistrationOpen = eventRegistrationOpen;
	}
	public Double getSingleDayCost() {
		return singleDayCost;
	}
	public void setSingleDayCost(Double singleDayCost) {
		this.singleDayCost = singleDayCost;
	}
	public Double getWeekendPassCost() {
		return weekendPassCost;
	}
	public void setWeekendPassCost(Double weekendPassCost) {
		this.weekendPassCost = weekendPassCost;
	}
	public Double getDefaultEventCost() {
		return defaultEventCost;
	}
	public void setDefaultEventCost(Double defaultEventCost) {
		this.defaultEventCost = defaultEventCost;
	}
	@SuppressWarnings("rawtypes")
	public Set getSlots() {
		return slots;
	}
	@SuppressWarnings("rawtypes")
	public void setSlots(Set slots) {
		this.slots = slots;
	}
	@SuppressWarnings("rawtypes")
	public Set getEvents() {
		return events;
	}
	@SuppressWarnings("rawtypes")
	public void setEvents(Set events) {
		this.events = events;
	}
	@SuppressWarnings("rawtypes")
	public Set getRegistrations() {
		return registrations;
	}
	@SuppressWarnings("rawtypes")
	public void setRegistrations(Set registrations) {
		this.registrations = registrations;
	}

	public int hascode(){
		if(conID != null)
			return conID.hashCode();
		else{
			Integer x = 0;
			return x.hashCode();
		}
	}
	public Boolean getCurrent() {
		return current;
	}
	public void setCurrent(Boolean current) {
		this.current = current;
	}
	public Integer getNumSlots() {
		return numSlots;
	}
	public void setNumSlots(Integer numSlots) {
		this.numSlots = numSlots;
	}
	public Integer getNumEvents() {
		return numEvents;
	}
	public void setNumEvents(Integer numEvents) {
		this.numEvents = numEvents;
	}
	public Integer getNumRegistrations() {
		return numRegistrations;
	}
	public void setNumRegistrations(Integer numRegistrations) {
		this.numRegistrations = numRegistrations;
	}
	public Double getWeekendASLCost() {
		return weekendASLCost;
	}
	public void setWeekendASLCost(Double weekendASLCost) {
		this.weekendASLCost = weekendASLCost;
	}
}
